package cn.t.persistence.mapper.user;

import cn.t.persistence.entity.user.UserQueryPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author l
 */
public interface UserQueryManualMapper extends BaseMapper<UserQueryPO> {


    List<UserQueryPO> findByModel(@Param(value = "template") UserQueryPO template, @Param(value = "start") int start,
                                  @Param(value = "pageSize") int pageSize, @Param(value = "field") String field, @Param(value = "direction") String direction);

    Integer count(@Param(value = "template") UserQueryPO template);
}
